add Default Asset Sources
Deprecated
Uses legacy v4 asset source IDs and will be removed in a future version. Against a CDN that serves v5+ content (the default Engine.assetBaseUri from this release on), the IDs renamed or merged in v5 ('vectorpath'->'vector.shape', 'colors.defaultPalette'->'color.palette', 'filter.lut'+'filter.duotone'->'filter') are skipped (logged, not loaded) so one missing source no longer aborts the batch. Register sources via Engine.asset.addLocalSourceFromJSON(contentUri) with the v5 IDs (plus the new 'ly.img.text', 'ly.img.text.styles', 'ly.img.text.curves', 'ly.img.text.components'). Migration guide: https://img.ly/docs/cesdk/android/to-v1-77-ac6ca9/
Convenience function that registers a set of asset sources containing our example assets. Note: See DefaultAssetSource enum for available values. Note: By default, these assets are parsed from the IMG.LY CDN at https://cdn.img.ly/packages/imgly/cesdk-android/<version>/assets/<id>/content.json.
Each source is created via AssetApi.addLocalSource and populated with the parsed assets. To modify the available assets, you may either mask out certain IDs via exclude or alter the sources after their creation.
Important: For production use, you should self-host the assets or include them in your application bundle and provide your own base URI instead of loading them from the IMG.LY CDN. The assets can be downloaded from https://cdn.img.ly/packages/imgly/cesdk-android/<version>/imgly-assets.zip.
Parameters
the source of the asset definitions.
a set of sources that will be ignored during load. Default value is empty set.